﻿/****************************************************************************
 * 2018.8 CN-20120726BTFG
 ****************************************************************************/

using UnityEngine;
using UnityEngine.UI;

namespace QFramework.Example
{
	public partial class UIToDoIteam
	{
		[SerializeField] public Text title;
		[SerializeField] public Toggle complite;

		public void Clear()
		{
			title = null;
			complite = null;
		}

		public override string ComponentName
		{
			get { return "UIToDoIteam";}
		}
        public  void  Set(string titleString)
        {
            title.text = titleString;
        }
        public void Set(bool toggleStats)
        {
            complite.isOn = toggleStats;
        }
    }
}
